package com.wangfei.swaggerdemo.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class User {
    @Schema(description = "用户名", title = "用户名name")
    private String name;
    @Schema(description = "年龄")
    private int age;
    @Schema(description = "性别", defaultValue = "1")
    private String sex;

}
